package top.leix.springdemo.services;

import top.leix.springdemo.Res;
import top.leix.springdemo.pojo.ApplyLabTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import top.leix.springdemo.pojo.ApplyRepairTeacher;

/**
* @author 16435
* @description 针对表【apply_lab_teacher(教师申请表)】的数据库操作Service
* @createDate 2024-04-21 22:23:42
*/
public interface ApplyLabTeacherService extends IService<ApplyLabTeacher> {

    //添加表单
    Res addApplication(ApplyLabTeacher applyLabTeacher);
    //修改表单
    Res updateApplication(ApplyLabTeacher applyLabTeacher);

    Res updateApplicationStatus(Integer applyID, String status);
    Res updateTeacherApplyRejection(Integer applyID);

    Res queryToCheckTeacher();

    Res queryAllTeacherApply();

    Res queryPending(String userAccount);

    Res queryScheduled(String userAccount);

    Res queryHistory(String userAccount);

}
